package com.mbc.rmt.entities;

import java.util.Date;
import java.io.Serializable;

@SuppressWarnings("serial")
public class RemittanceCashReceived implements Serializable {

	private long receivedId;
	private String receiptNo;
	private Date createdDate;
	private Date receivedDate;
	private long branchId;
	private long issuedBranchId;
	private long createdBy;
	private long paidCurrencyId;
	private double remitAmount;
	private double paidAmount;
	private long receivedCurrenyId;
	private String remark;
	private byte status;
	private Date modifiedDate;
	private long modifiedBy;
	private double receivedAmount;
	private double refundAmount;
	private double extraFees;
	private long paidBy;
	private String sender;
	private String receiver;
	private String nrc;
	private String address;
	private long addCodeId;
	private long batchId;
	private String addCode;
	private double rate;
	private String rateOperator;
	private String issusedBranchName;
	
	public double getRate() {
		return rate;
	}

	public void setRate(double rate) {
		this.rate = rate;
	}

	public String getRateOperator() {
		return rateOperator;
	}

	public void setRateOperator(String rateOperator) {
		this.rateOperator = rateOperator;
	}

	public long getAddCodeId() {
		return addCodeId;
	}

	public void setAddCodeId(long addCodeId) {
		this.addCodeId = addCodeId;
	}

	public String getAddCode() {
		return addCode;
	}

	public void setAddCode(String addCode) {
		this.addCode = addCode;
	}
	
	private String bankCode;
	
	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getNrc() {
		return nrc;
	}

	public void setNrc(String nrc) {
		this.nrc = nrc;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public long getPaidBy() {
		return paidBy;
	}

	public void setPaidBy(long paidBy) {
		this.paidBy = paidBy;
	}

	public double getReceivedAmount() {
		return receivedAmount;
	}

	public void setReceivedAmount(double receivedAmount) {
		this.receivedAmount = receivedAmount;
	}

	public double getRefundAmount() {
		return refundAmount;
	}

	public void setRefundAmount(double refundAmount) {
		this.refundAmount = refundAmount;
	}

	public double getExtraFees() {
		return extraFees;
	}

	public void setExtraFees(double extraFees) {
		this.extraFees = extraFees;
	}

	public RemittanceCashReceived(){
		clearProperties();
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public long getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(long modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public void clearProperties(){
		receivedId = 0;
		receiptNo = "";
		createdDate = new Date();
		receivedDate = new Date();
		branchId = 0;
		issuedBranchId = 0;
		createdBy = 0;
		paidCurrencyId = 0;
		remitAmount = 0;
		paidAmount = 0;
		receivedCurrenyId = 0;
		remark = "";
		status = 0;
		sender = "";
		receiver = "";
		nrc = "";
		address = "";
		bankCode = "";
		addCode = "";
		addCodeId = 0;
		rate = 0;
		rateOperator = "";
		issusedBranchName = "";
		batchId = 0;
	}

	public byte getStatus() {
		return status;
	}

	public void setStatus(byte status) {
		this.status = status;
	}

	public long getReceivedId(){
		return receivedId;
	}

	public void setReceivedId(long receivedId){
		this.receivedId = receivedId;
	}

	public String getReceiptNo(){
		return receiptNo;
	}

	public void setReceiptNo(String receiptNo){
		this.receiptNo = receiptNo;
	}

	public Date getCreatedDate(){
		return createdDate;
	}

	public void setCreatedDate(Date createdDate){
		this.createdDate = createdDate;
	}

	public Date getReceivedDate(){
		return receivedDate;
	}

	public void setReceivedDate(Date receivedDate){
		this.receivedDate = receivedDate;
	}

	public long getBranchId(){
		return branchId;
	}

	public void setBranchId(long branchId){
		this.branchId = branchId;
	}

	public long getCreatedBy(){
		return createdBy;
	}

	public void setCreatedBy(long userId){
		this.createdBy = userId;
	}

	public long getPaidCurrencyId(){
		return paidCurrencyId;
	}

	public void setPaidCurrencyId(long paidCurrencyId){
		this.paidCurrencyId = paidCurrencyId;
	}

	public double getRemitAmount(){
		return remitAmount;
	}

	public void setRemitAmount(double remitAmount){
		this.remitAmount = remitAmount;
	}

	public double getPaidAmount(){
		return paidAmount;
	}

	public void setPaidAmount(double paidAmount){
		this.paidAmount = paidAmount;
	}

	public long getReceivedCurrenyId(){
		return receivedCurrenyId;
	}

	public void setReceivedCurrenyId(long receivedCurrenyId){
		this.receivedCurrenyId = receivedCurrenyId;
	}

	public String getRemark(){
		return remark;
	}

	public void setRemark(String remark){
		this.remark = remark;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public long getIssuedBranchId() {
		return issuedBranchId;
	}

	public void setIssuedBranchId(long issuedBranchId) {
		this.issuedBranchId = issuedBranchId;
	}

	public String getIssusedBranchName() {
		return issusedBranchName;
	}

	public void setIssusedBranchName(String issusedBranchName) {
		this.issusedBranchName = issusedBranchName;
	}

	public long getBatchId() {
		return batchId;
	}

	public void setBatchId(long batchId) {
		this.batchId = batchId;
	}


}
